<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2020/4/15
  Time: 14:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>用户新增之后表单</title>
    <script type="text/javascript" src="jquery/jquery-1.12.4.js"></script>
    <script type="text/javascript" src="bootstrap-3.3.7-dist/js/bootstrap.js"></script>
    <link rel="stylesheet" type="text/css" href="bootstrap-3.3.7-dist/css/bootstrap.css">
</head>
<body>
<div class="bs-example" data-example-id="hoverable-table">
    <table class="table table-hover">
        <thead>
        <tr>
            <th>#</th>
            <th>ID</th>
            <th>用户名</th>
            <th>地址</th>
            <th>电话</th>
            <th>注册日期</th>
            <th>头像</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <c:forEach items="${sessionScope.lstAdd}" var="eachBean" varStatus="stat">
                <th scope="row"></th>
                <td>${stat.index+1}</td>
                <td>${eachBean.userName}</td>
                <td>${eachBean.userAddress}</td>
                <td>${eachBean.userTel}</td>
                <td>${eachBean.regDate}</td>
                <td><img src="${eachBean.userImg}" style="width: 40px;height: 30px"></td>
        </tr>
        </c:forEach>
        </tbody>
    </table>
    </form>
</div>
</body>
</html>
